Learn about alter database recover managed standby database, we have the largest and most updated alter database recover managed standby database information on alibabacloud.com
, you can infer whether the log is consistent2. Next, we need to stop the MRP process in the repository:ALTER DATABASE recover managed standby database cancel;Note that this assumes an error, such as the following see, can not care, because our main log is consistent, MRP ca
;ALTER DATABASE Add supplemental log data (primary Key,unique index) columns;alter system set Parallel_max_servers = 40;alter system set Control_file_record_keep_time = 30;alter system set undo_retention = 3600;alter system set lo
conversion from the slave database (sh) to the master database, and start the physical slave database to open
If the physical standby database (bj) is not in read-only mode during the last startup, open the database directly and
1, the system is the instance level, database is the data base level, session is conversation level.2, about these three levels of changes in the following generalDatabase-level (relatively large) > instance-level > Session-level (for current conversations only)3. Related attributes"Alter session SET *****=****"//valid for current session"Alter system set *****=*
databasecommit to switchover to primary (withsession shutdown );Step 14: complete the conversion from the slave database (SH) to the master database, and start the physical slave database to open
If the physical standby database (bj) is not in read-only mode during the last
);Step 14: The Slave Database (sh) is switched to the master database, and the physical slave database is started to openIf the physical standby database (bj) is not in read-only mode at the recent start, open the database direct
archived redo logs from the master database. Then, you can enable application Redo or real-time application, or access the database in read-only mode.
For example:
Start and mount the physical standby database:SQL> STARTUP MOUNT;
Start Redo Apply or real-time apply:To start Redo Apply, issue the following statement:SQL>
log in the slave database:
SQL> alter database flashback on;
Start the redo log applicationIt is very easy to start or stop the redo log application. Start the log application:
SQL> ALTER DATABASE RECOVER
1. Build a physical standby Database
2. Stop redo applications on the physical standby database. If the standby database is RAC, all instances other than the following statements must be stopped.
SQL>
18.7. Performing Complete user-managed Media RecoveryTo complete a consistent backup, restoring the database to the current SCN is the best result. You can restore an entire database, restore a single tablespace, or recover a data file. Consistent recovery does not require resetlogs to open the
Oracle 12c R1 physical standby uard physical standby database enable real-time apply
The physical standby database is always in the mount state, which is inconvenient for Data Synchronization verification.
Enabling real-time apply enables real-time query.
In the
18.6, about user-managed Media RecoveryTo complete the recovery, Oracle recommends using the recover statement. You can also use the ALTER DATABASE recover statement, but the recover statement is simpler.18.6.1, preconditions of p
switching, B is the master database and A is the slave database. Therefore, log_archive_dest_N must be set to the peer database.4.1. Restart the standby listener.Lsnrctl stop;Lsnrctl start;4.2. Restore the databaseOperate on standbyClose oracle, generate the parameter file, start oracle to nomount, and restore rmanSQL
big integer 80G
If not, use the alter system command to set it. Restart the database.2: Cancel Standby DB synchronization and create a guaranteed Restore Point.SQL> alter database recover man
1. Stop StandbySelect process, status from V$managed_standby;---check if the repository is being restored in the application log ALTER DATABASE recover managed standby database cancel;Shutdown immediate; 2. Switch to read-only mod
SWITCHOVER_STATUS FROM V$DATABASE;
As long as the SWITCHOVER_STATUS query result is to standby or sessions active, it indicates that switchover can be performed between the master database and the logical STANDBY database. Otherwise, check whether the Data Guard configur
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.